<template>
  <div class="view-house-btns">
    <div class="bottom">
      <div class="clear" @click="handleClear">{{Clear}}</div>
      <div class="see-house" @click="handlerHouse">{{seehouse}}</div>
    </div>
  </div>
</template>

<script setup>

defineProps({
  Clear:{
    type:String,
    default:'清空'
  },
  seehouse:{
    type:String,
    default:'查看房屋(300)套以上'
  }
})
const emit = defineEmits(["clear","house"]);
const handleClear = () =>{
  emit("clear");
}
const handlerHouse = () =>{
  emit("house");
}


</script>

<style lang="less" scoped>
  .view-house-btns {
    background-color: #fff;
    .bottom {
      display: flex;
      align-items: center;
      height: 60px;
      background-color: #fff;
    }
    .clear {
      display: inline-block;
      margin-left: 20px;
      width: 85px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      background: #f3f4f6;
      border-radius: 20px;
      font-size: 15px;
    }
    .see-house {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 240px;
      height: 40px;

      margin-left: 10px;
      border-radius: 20px;
      font-size: 15px;
      color: #fff;
      background: var(--primary-color);
    }
  }
</style>
